package com.kaifamiao.date1105;

public class VehicleTest {

	public static void main(String[] args) {
		Vehicle v = new Vehicle();
		v.frame = "木头架子" ;
		v.wheel = "木头轮子" ;
		v.engine = "一头驴子" ;
		v.run();
		
		Bus b = new Bus();
		b.frame = "金属架子" ;
		b.wheel = "有轮胎的轮子" ;
		b.engine = "东风发动机" ;
		
		b.locator = "北斗" ;
		
		b.add( "老唐" );
		b.add( "猴哥" );
		b.add( "老猪" );
		
		b.locate();
		b.run();

	}

}
